package com.blueberry.commbank.application.dto;

import java.math.BigDecimal;
import javax.validation.constraints.NotNull;

public class TransferRequestDTO {
    @NotNull(message = "Source account cannot be null")
    private String sourceAccountNum;

    @NotNull(message = "Target account cannot be null")
    private String targetAccountNum;

    @NotNull(message = "Amount cannot be null")
    private BigDecimal money;

    @NotNull(message = "Target currency cannot be null")
    private String targetCurrency;

    public String getSourceAccountNum() {
        return sourceAccountNum;
    }

    public TransferRequestDTO setSourceAccountNum(String sourceAccountNum) {
        this.sourceAccountNum = sourceAccountNum;
        return this;
    }

    public String getTargetAccountNum() {
        return targetAccountNum;
    }

    public TransferRequestDTO setTargetAccountNum(String targetAccountNum) {
        this.targetAccountNum = targetAccountNum;
        return this;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public TransferRequestDTO setMoney(BigDecimal money) {
        this.money = money;
        return this;
    }

    public String getTargetCurrency() {
        return targetCurrency;
    }

    public TransferRequestDTO setTargetCurrency(String targetCurrency) {
        this.targetCurrency = targetCurrency;
        return this;
    }
}
